/* 笔记答疑样式 */
@media only screen and (min-width: 1200px) {
  .wrapper_tcon {
    width: 1000px;
    margin: 80px auto;
    padding: 0 45px 0;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 1000px) {
  .wrapper_tcon {
    width: 100%;
    margin: 80px auto;
    padding: 0 15px 0;
    min-width: 1000px;
    box-sizing: border-box;
  }
}

.tab_firstclass {
  width: 100%;
  //   margin-top: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e2e2;
  .left_tab {
    height: 40px;
    line-height: 40px;
    color: #333333;
    font-family: Microsoft YaHei;
    p {
      float: left;
      width: 80px;
      font-size: 16px;
      font-weight: 500;
      margin-right: 20px;
      cursor: pointer;
    }
    p.active {
      font-weight: bold;
      color: #0193ff;
    }
  }
  .right_search {
    input {
      width: 160px;
      height: 28px;
      border: 1px solid #999999;
      border-radius: 5px;
      text-indent: 10px;
      outline: 0 none;
    }
    span {
      display: inline-block;
      width: 60px;
      height: 28px;
      background: #0193ff;
      border-radius: 5px;
      margin-left: 16px;
      font-size: 14px;
      font-weight: 400;
      line-height: 28px;
      color: #ffffff;
      text-align: center;
      cursor: pointer;
    }
  }
}

.tab_twoclass {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  div {
    height: 42px;
    // line-height: 42px;
    line-height: 31px;
    color: #333333;
    // color: #fff;
    font-family: Microsoft YaHei;
    margin-top: 10px;
    p {
      float: left;
      font-size: 14px;
      font-weight: 500;
      // margin-right: 20px;
      padding: 0 30px 0 8px;
      cursor: pointer;
      span {
        padding: 0 10px;
        // padding: 0 23px 0 10px
      }
      // background: linear-gradient( -135deg, transparent 22px, #04e6fb 22px, #65ff9a 100%) top right,
      // linear-gradient( -45deg, transparent 22px, #04e6fb 22px, #65ff9a 100%) bottom right;
      background-size: 100% 50%;
      background-repeat: no-repeat;
    }
    p.active {
      font-weight: bold;
      color: #0193ff;
      // color: #fff;
      // background: linear-gradient( -135deg, transparent 22px, #0193ff 22px, #0193ff 100%) top right, linear-gradient( -45deg, transparent 22px, #0193ff 22px, #0193ff 100%) bottom right;
      background-size: 100% 50%;
      // background-color: #0193ff;
      background-repeat: no-repeat;
    }
  }
}

.contentbox {
  width: 100%;
  position: relative;
  padding-bottom: 100px;
  .list_box {
    width: 100%;
    border-radius: 4px;
    padding: 20px 20px 0;
    position: relative;
    list-style: none;
    li {
      // box-shadow: #ccc 0 0 15px;
      // border-radius: 10px;
      padding: 20px 10px;
      // margin-bottom: 10px;
      border-bottom: 1px dashed #8a919f;
      a {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        .left_box {
          width: 40px;
          height: 40px;
          // text-align: center;
          border-radius: 20px;
          // margin-top: 10px;
          // background-color: #EDF5F0;
          // font-weight: bold;
          // color: #0193ff;
          img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
          }
          .num_P {
            height: 24px;
            line-height: 24px;
            font-size: 16px;
          }
          .text_p {
            height: 16px;
            line-height: 16px;
            font-size: 12px;
          }
        }
        .text_box {
          width: -webkit-calc(100% - 60px);
          width: -moz-calc(100% - 60px);
          width: calc(100% - 60px);
          .text_title {
            height: 20px;
            line-height: 20px;
            //昵称
            .nickname_listbi {
              font-size: 14px;
              font-family: Microsoft YaHei;
              font-weight: bold;
              // color: #252933;
              color: #0193ff;
              padding-right: 10px;
              // margin-bottom: 3px;
            }
            // 时间和来源
            .time_listbi {
              font-size: 14px;
              font-weight: 400;
              color: #8a919f;
              // padding: 0 10px;
            }
            .from_listbi {
              font-size: 14px;
              font-weight: 400;
              color: #8a919f;
              padding: 0 10px;
              cursor: pointer;
            }
          }
          .text_content {
            // padding: 10px 5px;
            margin-top: 24px;
            font-size: 14px;
            font-weight: 500;
            color: #17181a;
            line-height: 20px;
          }
          .img_listbi {
            background-color: #e2e2e2;
            img {
              float: left;
              width: 117px;
              height: 80px;
              margin: 10px 20px 10px 5px;
            }
          }
        }
      }
    }
  }
  .pagebox {
    text-align: center;
    margin-top: 20px;
  }
  .tabstage {
    margin-top: 10px;
    p {
      float: left;
      margin: 0 30px 0 8px;
      font-size: 14px;
      line-height: 31px;
      cursor: pointer;
    }
    p.active {
      font-weight: bold;
      color: #0193ff;
      // color: #fff;
      // background: linear-gradient( -135deg, transparent 22px, #0193ff 22px, #0193ff 100%) top right, linear-gradient( -45deg, transparent 22px, #0193ff 22px, #0193ff 100%) bottom right;
      background-size: 100% 50%;
      background-repeat: no-repeat;
    }
  }
  .Structure_box {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    .collapse {
      width: 750px;
      .collapseItem {
        .tit {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin: 15px 0;
          p {
            font-size: 14px;
            color: $color-black;
            font-weight: 550;
          }
        }
        .innerCollapse {
          // background-color: #f9f9f9;
          // border-radius: 10px;
          padding: 5px 15px;
          // margin: 15px 0 10px;
          .item {
            margin-bottom: 10px;
            .innerTit {
              height: 30px;
              line-height: 30px;
              .name {
                height: 14px;
                font-size: 14px;
                font-weight: 400;
                color: #333333;
              }
              .el-icon-folder-opened {
                font-size: 16px;
                color: #0193ff;
              }
              cursor: pointer;
            }
            .childList {
              width: 100%;
              max-height: 300px;
              // background-color: #ffffff;
              border-radius: 5px;
              padding: 10px 20px;
              overflow-y: auto;
              box-sizing: border-box;
              // 滚动条样式
              &::-webkit-scrollbar {
                width: 6px;
              }
              // 滚动槽
              &::-webkit-scrollbar-track {
                border-radius: 6px;
                box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
              }
              // 滚动滑块
              &::-webkit-scrollbar-thumb {
                border-radius: 6px;
                background: rgba(0, 0, 0, 0.1);
                box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
              }
              .listItem {
                border-bottom: 1px solid #eaeaea;
                margin-top: 5px;
                padding-bottom: 5px;
                .itemCon {
                  display: flex;
                  justify-content: space-between;
                  align-items: center;
                  &:last-child {
                    margin-bottom: 0;
                  }
                  .left {
                    flex: 2;
                    p {
                      font-size: 14px;
                      color: $color-black;
                      line-height: 30px;
                      -webkit-line-clamp: 1;
                      overflow: hidden;
                      -webkit-box-orient: vertical;
                      display: -webkit-box;
                    }
                  }
                  .right {
                    width: 100px;
                    display: flex;
                    align-items: center;
                    flex-direction: row;
                    justify-content: space-between;
                    span {
                      font-size: 14px;
                      font-family: Microsoft YaHei;
                      font-weight: 400;
                      color: #0193ff;
                      line-height: 30px;
                    }
                    a {
                      font-size: 14px;
                      font-family: Microsoft YaHei;
                      font-weight: 400;
                      color: #0193ff;
                      line-height: 30px;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    .anchorLink {
      width: 200px;
      // max-width: 300px;
      position: fixed;
      top: 30%;
      left: 50%;
      height: 400px;
      margin-left: 300px;
      overflow-y: scroll;
      a {
        display: block;
        padding-left: 15px;
        font-size: 14px;
        color: #666666;
        height: 60px;
        position: relative;
        &::after {
          content: '';
          display: block;
          width: 10px;
          height: 10px;
          border: solid 1px #d7d7d7;
          border-radius: 50%;
          position: absolute;
          top: 4px;
          left: 0px;
          background-color: #fff;
          z-index: 999999;
        }
        &::before {
          content: '';
          display: block;
          width: 1px;
          height: 100%;
          background: #d7d7d7;
          position: absolute;
          top: 15px;
          left: 6px;
          z-index: 6;
        }
        &:last-child {
          &::before {
            width: 0;
          }
        }
      }
      a.active {
        display: block;
        padding-left: 15px;
        font-size: 14px;
        color: #0193ff;
        height: 60px;
        position: relative;
        &::after {
          content: '';
          width: 10px;
          height: 10px;
          border: solid 1px #0193ff;
          border-radius: 50%;
          background-color: #0193ff;
          position: absolute;
          top: 4px;
          left: 0px;
          z-index: 10;
        }
        &::before {
          content: '';
          // width: 1.5px;
          height: 100%;
          // background: #0193ff;
          position: absolute;
          top: 15px;
          left: 6px;
          z-index: 6;
        }
        &:last-child {
          &::before {
            width: 0;
          }
        }
      }
      // 滚动条样式
      &::-webkit-scrollbar {
        width: 5px;
      }
      // 滚动槽
      &::-webkit-scrollbar-track {
        border-radius: 5px;
        box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
      }
      // 滚动滑块
      &::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: rgba(1, 147, 255, 0.5);
        box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
      }
    }
  }
}
